<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>课程信息设置</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="lessonInfoController.do?doAdd" tiptype="3" >
		<table style="" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							课程编号:
						</label>
					</td>
					<td class="value">
					     	 <input id="lessonNo" name="lessonNo" type="text" 
					     	 style="width: 150px" class="inputxt"  datatype="*"  maxlength="80">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">课程编号</label>
					</td>
					
					<td align="right">
						<label class="Validform_label">
							课程名称:
						</label>
					</td>
					<td class="value">
					     	 <input id="lessonName" name="lessonName" type="text" 
					     	 style="width: 150px" class="inputxt"  datatype="*"  maxlength="80">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">课程名称</label>
					</td>	
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							学分:
						</label>
					</td>
					<td class="value">
					     	 <input id="credit"  name="credit" maxlength="5" type="text" style="width: 150px" class="inputxt" onkeyup="this.value=this.value.replace(/\D/g,'')">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">学分</label>
					</td>
					<td align="right">
						<label class="Validform_label">
							总学时:
						</label>
					</td>
					<td class="value">
					     	 <input id="allCredit" name="allCredit" maxlength="5" type="text" style="width: 150px" class="inputxt" >
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">总学时</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							实验学时:
						</label>
					</td>
					<td class="value">
					     	 <input id="testCredit"  name="testCredit" maxlength="5" type="text" style="width: 150px" class="inputxt" >
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">实验学时</label>
					</td>
					<td align="right">
						<label class="Validform_label">
							教材:
						</label>
					</td>
					<td class="value">
					     	 <input id="teaching" name="teaching"  type="text" style="width: 150px" class="inputxt" >
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">教材</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							课程简介:
						</label>
					</td>
					<td class="value" colspan="3">
					    <textarea id="lessonDesc" name="lessonDesc"  rows="4" cols="20" style="width: 300px;"></textarea>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">课程简介</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							参考书目:
						</label>
					</td>
					<td class="value">
					     	 <input id="bibliography" name="bibliography" type="text" style="width: 150px" class="inputxt" maxlength="80" >
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">参考书目</label>
					</td>
					
					<td align="right">
						<label class="Validform_label">
							负责教师:
						</label>
					</td>
					<td class="value">
                	     <input id="teacherId" name="teacherId" type="hidden"  >               
					     <input id="realName"  type="text" style="width: 150px" class="inputxt" 
					      readonly="readonly">
					     <t:choose hiddenName="teacherId" hiddenid="id" url="teacherController.do?goSelect" name="teacherList"
                          icon="icon-search" title="选择" textname="realName" isclear="false" isInit="true"></t:choose>							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">负责教师</label>
						</td>
					
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							开设院系:
						</label>
					</td>
					<td class="value">
						 <input id="collegeId" name="collegeId" type="hidden"  >               
					     <input id="collegeName" type="text" style="width: 150px" class="inputxt" 
					      readonly="readonly">
					     <t:choose hiddenName="collegeId" hiddenid="id" url="lessonInfoController.do?goCollegeSelect" name="collegeList"
                          icon="icon-search" title="选择" textname="collegeName" inputTextname="collegeName" isclear="false" isInit="true"></t:choose>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">开设院系</label>
					</td>
					
					<td align="right">
						<label class="Validform_label">
							专业:
						</label>
					</td>
					<td class="value">
						<input id="majorId" name="majorId" type="hidden"  >               
					     <input id="majorName" type="text" style="width: 150px" class="inputxt" 
					      readonly="readonly">
					     <t:choose hiddenName="majorId" height="500px" width="450px" hiddenid="id" url="lessonInfoController.do?goMajorSelect" name="majorList"
                          icon="icon-search" title="选择" textname="majorName" inputTextname="majorName" isclear="false" isInit="true"></t:choose>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">专业</label>
					</td>
				</tr>
				
			</table>
		</t:formvalid>
 </body>
  <script src = "webpage/com/mengtian_tech/device_mgr/dict/dictGroup.js"></script>		
